home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 11
/
Amiga Format AFCD11 (Feb 1997, Issue 95).iso
/
-readerstuff-
/
femi_hasani
/
extras
/
visual1.00
/
install
next >
Wrap
Text File
|
1997-01-31
|
2KB
|
93 lines
; $VER: Install Visual 1.00 (04-mar-1995)
; Vallée Christophe © 1995
(set DEVICE "Work:")
(set DEFAULTDEVICE "Sys:")
(set DISTDIR "Visual")
(welcome)
(complete 0)
(set MAINDIR
(askdir
(prompt "Where do you want to install Visual (a directory will be "
"created in the directory you will choose) ?")
(help @askdir-help)
(default (if ((= (exists DEVICE (noreq)) 2)) (DEVICE) (DEFAULTDEVICE)))
(disk)
)
)
(if (= (exists MAINDIR) 0) (makedir MAINDIR (infos)))
(set DIR (tackon MAINDIR DISTDIR))
(set @default-dest DIR)
(complete 25)
; crée répertoire
(if (= (exists DIR) 2) (
(message "Directory '" DIR "' already exists. All the files of this "
"directory will be deleteted.")
(run ("delete \"%s\" all" DIR))
)
)
(makedir DIR (infos))
(complete 40)
; installe
(copyfiles
(source "Visual")
(dest DIR))
(copyfiles
(source "Visual.info")
(dest DIR))
(copyfiles
(source "Visual.guide")
(dest DIR))
(copyfiles
(source "Visual.guide.info")
(dest DIR))
(copyfiles
(source "Visual.palette")
(dest DIR))
(complete 60)
; installe les fichiers icn
(set ICNDIR (tackon DIR "Icn"))
(makedir ICNDIR (infos))
(copyfiles
(source "Icn")
(dest ICNDIR)
(pattern "#?"))
(complete 80)
; installe les fichiers ARexx
(set REXXDIR (tackon DIR "Rexx"))
(makedir REXXDIR (infos))
(copyfiles
(source "Rexx")
(dest REXXDIR)
(pattern "#?"))
; installe les fichiers exemples
(set EXEDIR (tackon DIR "Examples"))
(makedir EXEDIR (infos))
(copyfiles
(source "Examples")
(dest EXEDIR)
(pattern "#?"))
(complete 100)
(exit)